//统一管理相关的接口
import request from "@/utils/request";

//统一管理接口
enum API {
    ACCOUNT_URL = "/itp/api/account",
    //账户
}

export const postAccountQuery = (param:any) => request.post(`${API.ACCOUNT_URL}/query`,param);
export const putDrawDownReason = (param:any) => request.put(`${API.ACCOUNT_URL}/updateDrawDownReason`,param);
export const getAccountList = (id:any) => request.get(`${API.ACCOUNT_URL}/select?forDeptId=${id}`);
export const exportTableData = (param:any) => request.exportFile(`${API.ACCOUNT_URL}/export`,param);
export const postAccountTrend = (param:any) => request.post(`${API.ACCOUNT_URL}/trend`,param);
export const postAccountSumTrend = (param:any) => request.post(`${API.ACCOUNT_URL}/sum/trend`,param);
